package com.zzgele.qmzb.api.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.zzgele.qmzb.api.core.AbstractService;
import com.zzgele.qmzb.api.dao.UserMapper;
import com.zzgele.qmzb.api.model.User;
import com.zzgele.qmzb.api.service.UserService;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.HashMap;


/**
 * Created by Martin on 2017/08/02.
 */
@Service(interfaceClass = UserService.class,proxy="jdk")
@Component
@Transactional
public class UserServiceImpl extends AbstractService<User> implements UserService {
    @Resource
    private UserMapper userMapper;
    public Long getMaxNumber(){
        return  userMapper.getMaxNumber();
    }
    //获取is 家族信息
    public HashMap getJzInfo(Long login_uid){
        return userMapper.getJzInfo(login_uid);
    }

}
